home *** CD-ROM | disk | FTP | other *** search
/ 1,000+ Great Games / 1_1000 Games.iso / CASINO / LOTTO_83.ZIP / LOTTO.DOC < prev    next >
Encoding:
Text File  |  1995-08-27  |  6.7 KB  |  137 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.                                         Lotto
  10.           ═════════════════════════════════════════════════════════════════
  11.  
  12.                This lotto program supports a 49 number lotto system as used
  13.           by the State of Washington. Works for any lotto using 49 numbers,
  14.           six picks, no free, alternates, etc.
  15.  
  16.                I  wrote this program because I have had some numbers picked
  17.           by the Washington  State computer that  each line's numbers  were
  18.           almost sequential with the previous line's numbers. Example:
  19.  
  20.                                    3 12 17 24 36 40
  21.                                    5 14 18 27 39 42
  22.  
  23.                Or whatever. I  believe the above  problem with the  State's
  24.           computer was that  the computer  was very busy  being fed  number
  25.           requests from all over the state. Normally  these printout (self-
  26.           picks)  are done  almost  instantaneously,  but  on the  case  in
  27.           question there were many seconds between each line. I am sure the
  28.           computer  was picking totally random picks and that my picks just
  29.           came  out as  in the  example because  other numbers  were picked
  30.           between  my lines. It upset me  so I wrote this  program to do my
  31.           picking. I think my computer  is just as good as the  State's, as
  32.           any State's. (GRIN)
  33.  
  34.                Earlier versions  were written  using QuickBASIC 3.0,  which
  35.           required the  presence of  Microsoft's BRUN30.EXE. I  rewrote the
  36.           program using Turbo Pascal  5.5. Version 7.10+ has been  compiled
  37.           with Turbo Pascal 7.0, which is somewhat smaller and faster. Also
  38.           said  'Public Domain' which has now been changed to 'Freeware' to
  39.           show  that I  retain the  copyrights but  that no  registration /
  40.           donation fee  is sought or  required. Any funds  sent in  will be
  41.           appreciated and accepted, but not required.
  42.  
  43.                Because  computers are getting  faster and  faster I  had to
  44.           increase  the delay on the  counter display. This  slows down the
  45.           slower computers, but it is unavoidable.
  46.  
  47.                Apostrophes are used in  this documentation as high lighting
  48.           only and are not required for use in the  program or from the DOS
  49.           prompt.
  50.  
  51.                To  start  the  program  type in  either  of  the  following
  52.           commands at the DOS prompt:
  53.  
  54.                                'LOTTO' or 'LOTTO SOUND'
  55.  
  56.                Typing in just 'Lotto'  starts the program with  the default
  57.           Sound Off. Using 'Lotto Sound' starts the program with Sound On.
  58.           If  you do use the  'LOTTO SOUND' option  the Sound On/Off inside
  59.           the program still works the same.
  60.  
  61.                I added the  Sound On/Off  feature for those  who might  not
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.           like any  sounds on their computer,  or if they run  a program at
  70.           work they  might not want to  draw attention to  it. Others might
  71.           have a sleeping spouse,  mother or father. On my Pro Audio Studio
  72.           16 sound  card the PC  speaker also  comes out through  the sound
  73.           card's speakers. So I opt for sound off myself from time to time.
  74.  
  75.                The program  is pretty  straight forward: It  randomly picks
  76.           six numbers. No  number in a row  is duplicated. The  numbers are
  77.           displayed in sorted order, and the main prompt is displayed.
  78.  
  79.              Another set <Y>es, <P>rint, <E>xit, <I>nfo, or Sound ON/OFF
  80.  
  81.                Main  Prompt  choices, upper  or  lower case,  are:  Want to
  82.           display another set press  'Y'. Don't want another set  press 'E'
  83.           to exit program. Print out the currently displayed set press 'P'.
  84.           Information on the author or the program press 'I'. Turn sound On
  85.           or Off press 'S'.
  86.  
  87.                The program randomly picks two lines marking each with '>>'.
  88.           On a color system  these two lines are  red and on a  mono system
  89.           you must watch for the '>>' at the start of the lines. These  two
  90.           lines  are the computer's pick for the Washington State two picks
  91.           for $1.
  92.  
  93.                Using the print option  puts five sets of lotto numbers on a
  94.           page. In   Washington State a full set  is one full card  for $5.
  95.           This is two picks for $1. 
  96.  
  97.                Your printer should  be set  to IBM characters  since I  use
  98.           extended IBM graphic characters  to make lines on the  screen. If
  99.           your  printer is  not set  for IBM  you will  get odd  letters or
  100.           characters  instead  of  lines. If  you  are  using  a  PC or  PC
  101.           compatible computer your printer  should be set to IBM  either by
  102.           dip  switch or software setup.  That is if  your printer supports
  103.           IBM characters/emulation and most newer printers do.
  104.  
  105.                Print out  is the same but  here '<<<' at the end  of a line
  106.           designates the two picks made by the computer.  You can use these
  107.           or  ignore them.  If you are  using this  program for  other than
  108.           Washington State you can ignore the computer's double picks.
  109.  
  110.                To get 5  sets per pages just keep pressing  'Y' for another
  111.           set and then 'P' to print. You can print out as many sets  as you
  112.           want printing out  only the sets you want. My  wife likes to pick
  113.           various  lines that might look  like good numbers  rather than to
  114.           let the Washington State Lotto computer do the picking.
  115.  
  116.                If there is a printer error, like not turned on, the program
  117.           halts  and prompts you to press  a key. This pause  is to let you
  118.           turn the printer  on if you have forgotten or  if you pressed 'P'
  119.           by  mistake and  do  not have  a  printer to  continue  on. After
  120.           pressing a  key the  Main Prompt returns  and if need-be  you can
  121.           press 'P' again. The lotto picks on the screen remain the same.
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                If you have  done printing  while in the  program, and  have
  130.           done less than 5 sets the  program does a form feed when exiting.
  131.           For those of you who do not  like this feature I am sorry, but if
  132.           I do a print out I have to form feed manually to get my printout.
  133.  
  134.                I would enjoy hearing from you about your likes, dislikes or
  135.           suggestions  on any of my programs. I am user friendly! Feel free
  136.           to contact me if you have any problems or questions.
  137.  
  138.  
  139.                         James H. Huckabey
  140.                         3621-A Fraser Street
  141.                         Bellingham, WA 98226-2473 U.S.A.
  142.                         (360) 671-2868 (voice, Pacific)
  143.